load FAMPanes,ResetTabs,ListBlock,References,SourceButtons

! -------------- Start Template -----------------
DropTypes INDI,INDICtrl
GoSub ResetTabs,0
GoSub FAMPanes,"Notes"

! --------- NOTEs, SOURs, and _LOGs -----------
#numSOURs=@count.SOUR
gosub References,"_LOG"

! --------- Attach links
newline
cell GroupBox,local("Attach")
  width -1
  newline -#lineSkip-3
  #lineSkip=0
  Show NOTE
  Show SOUR
  Show _LOG
  GoSub SourceButtons,"true",#numSOURs
EndGroup
#lineSkip=#lineSkip$

! --------- Other Multimedia
cell GroupBox,local("Event Notes and Sources")
  width -1
  newline -9
  #startVH=#vpos$+#hpos$
  ShowAll FAMEvntsOrdns "Sources"
  if #startVH=#vpos$+#hpos$
    cell static,local("None")
    sizetofit
    set offset 3
  endif
EndGroup

hideexcess
